package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.common.data.web.response.Params;
import com.engine4cloud.tdf.supervision.dto.create.SpSecurityPunishmentCreateDTO;
import com.engine4cloud.tdf.supervision.dto.query.SpSecurityPunishmentQueryDTO;
import com.engine4cloud.tdf.supervision.dto.result.SpSecurityPunishmentResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.SpNormalPreActionUpdateDTO;
import com.engine4cloud.tdf.supervision.dto.update.SpSecurityPunishmentUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.SpSecurityPunishmentEntity;

public interface SpSecurityPunishmentService extends IService<SpSecurityPunishmentEntity> {

    PageInfo<SpSecurityPunishmentResultDTO> getPageList(Params page, SpSecurityPunishmentQueryDTO dto);

    SpSecurityPunishmentResultDTO getById(Long id);

    Boolean create(SpSecurityPunishmentCreateDTO dto);

    Boolean update(SpSecurityPunishmentUpdateDTO dto);

    SpSecurityPunishmentResultDTO getByBatch(String batch);

    void changeAction(SpNormalPreActionUpdateDTO dto);
}